package user;

import book.BookList;
import operation.IOperation;

/**
 * 用户类 抽象类
 */
public abstract class User {
    protected String name;
    protected IOperation[] operations;

    public abstract int menu();

    public void DoOperation(int choice, BookList bookList){
        operations[choice-1].work(bookList);
    }

}
